<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_goods_switch')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <input  id="c-is_goods_switch" name="row[is_goods_switch]" type="hidden" value="{$row.is_goods_switch}">
            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_goods_switch" data-yes="1" data-no="0" >
                <i class="fa fa-toggle-on text-success {eq name="$row.is_goods_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
            </a>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dividend_rate1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dividend_rate1" class="form-control" step="0.01" name="row[dividend_rate1]" type="number" value="{$row.dividend_rate1|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dividend_rate2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dividend_rate2" class="form-control" step="0.01" name="row[dividend_rate2]" type="number" value="{$row.dividend_rate2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_rate" class="form-control" step="0.01" name="row[agent_rate]" type="number" value="{$row.agent_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Up_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-up_money" class="form-control" step="0.01" name="row[up_money]" type="number" value="{$row.up_money|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
